.ibz-pane {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
    --panel-background-color: black;
    --panel-color: white;

    .ibz-pane-header {
        cursor: pointer;
        position: relative;
        height: 22px;
        background-color: var(--panel-background-color);
        color: var(--panel-color);
        display: flex;

        .ibz-pane-content {
            flex-grow: 1;
        }

        .ibz-pane-actions {
            flex-shrink: 0;
            text-align: right;
            display: none;
        }
    }

    .icon-arrow {
        flex-shrink: 0;
        width: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        fill: var(--panel-color);
        flex-shrink: 0;
        transition: all 0.3s ease-in-out;
        transform: rotate(-90deg);
    }

    h3.ibz-pane-title {
        flex-shrink: 0;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        font-size: 11px;
        min-width: 3ch;
        padding: 2px 0px;
        margin-block-start: 0;
        margin-block-end: 0;
    }

    .ibz-pane-body {
        height: calc(100% - 22px);
        opacity: 1;
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .ibz-pane-body.hidden {
        height: 0;
        opacity: 0;
    }
}

.ibz-pane.expanded {

    .icon-arrow {
        transform: rotate(0);
    }
}

.ibz-pane:hover {

    .ibz-pane-header {

        .ibz-pane-actions {
            display: block;
        }
    }
}